import Vue from 'vue'
import Vuex from 'vuex'
import getters from './base-admin-modules/getters'
import baseAdminModules from './base-admin-modules'
import threeAdminModules from './three-admin-modules'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {...baseAdminModules, ...threeAdminModules},
  getters: {...getters},
})

export default store
